<!DOCTYPE html>
<?php
	include_once("header.php");  // header里面已经调用session_start()
	//include_once("bottom.php");
?>
<html lang="zh-hk">
<head>

	<title>Tiny bOOk</title>
	
	<meta http-equiv="Content-Type" content="text/html charset=UTF-8">
	<meta name="contentType" value="text/html  charset=GBK">
	<meta name="description" content="在这里你可以看到最新发布的书籍，和好友共享对某本书的评论和笔记">
	<meta http-equiv="imagetoolbar" content="no">
	<meta name="viewport" content="width=1036">
	
	<link rel="stylesheet" type="text/css" href="../css/upload_book.css">
</head>

<body>
	<div id="main">
		<div id="left">
		<form action="addBookResult.php" 
				enctype="multipart/form-data" method="post">
			<fieldset>
			<legend>Upload Book:</legend><!--框的头部标题-->
				<div id="bookname"><!--书名-->
					<strong>BookName:</strong>
					<input type="text" name="bookname" value="" size="16" maxlength="16" />			
				</div>
				<div id="actorname"><!--作者-->
					<strong>AuthorName:</strong>
					<input type="text" name="authorname" value="" size="16" maxlength="16" />			
				</div>
				<div id="actorname"><!--作者简介-->
					<strong>AuthorBrief:</strong>
					<input type="text" name="authorbrief" value="" size="16" maxlength="16" />			
				</div>
				<div id="price"><!--价格-->
					<strong>Price:</strong>
					<input type="text" name="price" value="" size="16" maxlength="16" />			
				</div>
				<div id="pages"><!--页数-->
					<strong>Pages:</strong>
					<input type="text" name="pages" value="" size="16" maxlength="16" />			
				</div>
				<div id="translator"><!--译者-->
					<strong>Translator:</strong>
					<input type="text" name="translator" value="" size="16" maxlength="16" />			
				</div>
				<div id="publishing"><!--出版社-->
					<strong>Publishing:</strong>
					<input type="text" name="publishing" value="" size="16" maxlength="16" />			
				</div>
				<div id="content"><!--内容简介-->
					<strong>ContentBrif:</strong>
					<input type="textarea" name="content" value="" />			
				</div>
				<div id="content"><!--内容简介-->
					<strong>Labels:</strong>
					<input type="textarea" name="labels" value="" />			
				</div>
				<div id="upload_img"><!--图书封面-->
					<label for="file"><strong>Upload IMG:</strong></label>
					<input type="file" name="file" id="file" />
				</div>
				<div id="sumit"><!--提交-->
					<input type="submit" name="submit" value="Sign Up" />
				</div>
			</fieldset>
		</form>
		</div><!--end of left-->
	</div>
</body>